package com.abcode.userserver.repository;

import com.abcode.userserver.entity.SysUserBean;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 系统用户表(SysUser) repository
 *
 * @author Ali
 * @since 2019-04-25 18:37:59
 */
public interface SysUserRepository extends JpaRepository<SysUserBean, Integer> {
  SysUserBean findFirstByFusernameAndFpassword(String fusername,String fpassword);
  Boolean existsByFusername(String fusername);
}